package com.feather.tenia;

import java.util.List;
import java.util.Map;

import com.feather.common.data.Column;
import com.feather.common.data.DataRowCollection;
import com.feather.tenia.adapter.data.MetaData;

/**
 * @author flogyin
 */
public interface TeniaHelper {
	String getParamPrefix();

	void setParamPrefix(String prefix);

	Object[] reviseProcedureParameter(Procedure procedure, Object[] parameters);

	List<Object> reviseProcedureParameter(Procedure procedure, List<Object> parameters);

	Map<String, Object> reviseProcedureParameter(Procedure procedure, Map<String, Object> parameters);

	String getCursorName(Tenia tenia, MetaData metaData, Column column, DataRowCollection rows);
}
